﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BtLibs.Http
{
    public class KeyValues
    {
        private List<KeyValue> kvs = new List<KeyValue>();
        public KeyValues Add(string key, string value)
        {
            this.kvs.Add(new KeyValue(key, value));
            return this;
        }
        public List<KeyValue> Values { get { return new List<KeyValue>(kvs); } }
        public KeyValues Add(KeyValues kvs)
        {
            this.kvs.AddRange(kvs.kvs);
            return this;
        }
    }
}
